﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Orid.Management.Statistics.Tools.Decomposition.Logic;

namespace Orid.Management.Statistics.Tools.Decomposition.UI
{
    public partial class FormConfigChild : Form
    {
       // ConfigItem configitem;

        public FormConfigChild()
        {
            InitializeComponent();
            this.Load += new EventHandler(FormConfigChild_Load);
            this.buttonClose.Click += new EventHandler(buttonClose_Click);
        }

        void buttonClose_Click(object sender, EventArgs e)
        {
            ConfigItem configitem = ConfigItem.GetInstance();
            configitem.SubItem1 = this.textBoxMappingName.Text; 
        }

        void FormConfigChild_Load(object sender, EventArgs e)
        {
            ConfigItem configitem =   ConfigItem.GetInstance();


            this.textBoxMappingName.Text = configitem.SubItem1; 
        }

    }
}
